package edu.gatech.oad.OTConfig;
/**
 * This is the InventoryController Class
 * This class handles access to the store and wagon inventories
 * @author Aditya Desai
 * @version 1.0 10/24/2011
 */

public class InventoryController {
	
	private WagonInventory wagonInventory;
	
	/**
	 * Constructor for the InventoryController class.
	 * @param money The amount of money the player will start with
	 */
	public InventoryController(int money){
		this.wagonInventory = new WagonInventory(money);
		//Wagon wagon = Wagon.getWagon();
		//wagonInventory = wagon.getInventory();
	}
	
	/**
	 * returns the wagon inventory
	 * @return The wagon's inventory
	 */
	public WagonInventory getWagonInventory (){
		return wagonInventory;
	}
	
	public void setWagonInventory(WagonInventory inventory){
		this.wagonInventory = inventory;
	}

}
